import axios from 'axios'

// create an axios instance
const service = axios.create({
  // baseURL: 'http://120.24.171.137:1337/', // url = base url + request url
  baseURL: 'https://restapi.amap.com/v3/',
  // withCredentials: true, // send cookies when cross-domain requests
  timeout: 5000 // request timeout
})
export default service
